package com.weilai.common.dao;


import com.weilai.common.model.DrawRecord;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DrawRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DrawRecord record);

    int insertSelective(DrawRecord record);

    DrawRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DrawRecord record);

    int updateByPrimaryKey(DrawRecord record);

    DrawRecord selectAll();

    List<DrawRecord> findUserOfPrize(DrawRecord drawRecord);

    List<DrawRecord> findByWeiXin(String weiXinNumber);
}